package cn.edu.zut.dto;

import java.sql.Date;

public class BookAndType {
    //id
    private int bookid;
    //ISBN
    private String isbn;
    //类别
    private String typename;
    //图书名称
    private String bookname;
    //作者
    private String author;
    //出版社
    private String publish;
    //出版日期
    private Date publishdate;
    //印刷次数
    private int publishtime;
    //单价
    private float unitprice;
    //状态
    private int status;
    //数量
    private int count;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public Date getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Date publishdate) {
        this.publishdate = publishdate;
    }

    public int getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(int publishtime) {
        this.publishtime = publishtime;
    }

    public float getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(float unitprice) {
        this.unitprice = unitprice;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "BookAndType{" +
                "bookid=" + bookid +
                ", isbn='" + isbn + '\'' +
                ", typename='" + typename + '\'' +
                ", bookname='" + bookname + '\'' +
                ", author='" + author + '\'' +
                ", publish='" + publish + '\'' +
                ", publishdate=" + publishdate +
                ", publishtime=" + publishtime +
                ", unitprice=" + unitprice +
                ", status=" + status +
                ", count=" + count +
                '}';
    }
}
